package io.renren.modules.generator.service;

import io.renren.modules.generator.entity.OverloadEntity;

import java.util.List;
import java.util.Map;

/**
 * 载畜量数据管理
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-04-18 17:30:13
 */
public interface OverloadService {
	
	OverloadEntity queryObject(Integer carryId);
	
	List<OverloadEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(OverloadEntity overload);
	
	void update(OverloadEntity overload);
	
	void delete(Integer carryId);
	
	void deleteBatch(Integer[] carryIds);

	List<OverloadEntity> yearList(Map<String, Object> map);

	int yearTotal(Map<String, Object> map);
}
